package com.warmheart.base.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * 
 * @ClassName: AliSmsConfig
 * @Description: 阿里云短信验证码配置
 * @author ZhangJianyang
 * @date 2025-06-16 09:37:02
 *
 */
@Configuration
@PropertySource(factory = YamlPropertySourceFactory.class, value = "classpath:sms-ali-config.yml")
@ConfigurationProperties(prefix = "sms.ali")
public class AliSmsConfig {

    private String accessKeyId;

    private String accessKeySecret;

    private String signName;

    private String regionId;

    private String product;

    private String endpoint;

    private String verificationCode;

    private String verificationCodeKey;

    private String sendSeconds;

    private String dayCnt;

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }

    public String getSignName() {
        return signName;
    }

    public void setSignName(String signName) {
        this.signName = signName;
    }

    public String getRegionId() {
        return regionId;
    }

    public void setRegionId(String regionId) {
        this.regionId = regionId;
    }

    public String getProduct() {
        return product;
    }

    public void setProduct(String product) {
        this.product = product;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public String getVerificationCode() {
        return verificationCode;
    }

    public void setVerificationCode(String verificationCode) {
        this.verificationCode = verificationCode;
    }

    public String getVerificationCodeKey() {
        return verificationCodeKey;
    }

    public void setVerificationCodeKey(String verificationCodeKey) {
        this.verificationCodeKey = verificationCodeKey;
    }

    public String getSendSeconds() {
        return sendSeconds;
    }

    public void setSendSeconds(String sendSeconds) {
        this.sendSeconds = sendSeconds;
    }

    public String getDayCnt() {
        return dayCnt;
    }

    public void setDayCnt(String dayCnt) {
        this.dayCnt = dayCnt;
    }

}
